﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kaidou.Util
{
    public class ErrorCodeDefine
    {
        /**********************************************************
	    * ログイン系
	    **********************************************************/
        public static readonly string LOGIN_UID_IS_NULL = "E100";
        public static readonly string LOGIN_UID_UNKNOWN_USER = "E101";
        public static readonly string LOGIN_PASSWORD_IS_NULL = "E110";
        public static readonly string LOGIN_PASSWORD_IS_DIFFERS = "E111";
        public static readonly string CHECK_SYS_ERROR = "E112";
        public static readonly string LOGIN_PASSWORD_IS_ERR = "E113";
        public static readonly string LOGIN_UID_IS_ERR = "E114";

        public static readonly string UNION_CODE_IS_NULL = "E1010";
        public static readonly string UNION_CODE_IS_HAN_STR_OK = "E1011";
        public static readonly string UNION_CODE_IS_NOT_KOMOZI = "E1012";
        public static readonly string UNION_CODE_IS_REG = "E1013";
        public static readonly string UNION_CODE_IS_FORMAT_NG = "E1016";
        public static readonly string UNION_CODE_IS_NOT_INITIAL = "E1017";
        public static readonly string UNION_CODE_IS_LENGTH_NG = "E1016";
        public static readonly string UNION_CODE_IS_DELETE = "E1015";
        public static readonly string UNION_CODE_IS_NOT_REG = "E1014";
        public static readonly string PREF_CODE_NOT_SELECT = "E1040";

        // 支店コード
        public static readonly string BRANCH_CODE_IS_NULL = "E1020";
        public static readonly string BRANCH_CODE_IS_HAN_NUM_OK = "E1021";
        public static readonly string BRANCH_CODE_IS_REG = "E1022";
        public static readonly string BRANCH_CODE_IS_NOT_REG = "E1023";
        public static readonly string BRANCH_CODE_IS_DELETE = "E1024";
        public static readonly string BRANCH_CODE_IS_LENGTH_NG = "E1025";
        public static readonly string BRANCH_CODE_IS_ERR = "E1026";
        public static readonly string BRANCH_CODE_IS_NULL_OR_HAN_NUM_OK_ = "E1027";
        

        // 支店名等の名称
        public static readonly string BRANCH_NAME_IS_NULL = "E2010";
        public static readonly string BRANCH_NAME_IS_ZEN_ALPAA_NUM_NG = "E2011";
        public static readonly string BRANCH_NAME_IS_HAN_KANA_NG = "E2012";
        public static readonly string BRANCH_NAME_IS_LENGTH_NG = "E2013";

        // 支店名等の名称(カナ)
        public static readonly string BRANCH_NAME_KANA_IS_NULL = "E2060";
        public static readonly string BRANCH_NAME_KANA_IS_ZEN_ALPAA_NUM_NG = "E2061";
        public static readonly string BRANCH_NAME_KANA_IS_LENGTH_NG = "E2062";


        public static readonly string OFFICE_NAME_IS_NULL = "E2000";
        public static readonly string OFFICE_NAME_IS_ZEN_ALPAA_NUM_NG = "E2001";
        public static readonly string OFFICE_NAME_IS_HAN_KANA_NG = "E2002";
        public static readonly string OFFICE_NAME_IS_LENGTH_NG = "E2003";

        public static readonly string OFFICE_NAME_KANA_IS_NULL = "E2050";
        public static readonly string OFFICE_NAME_KANA_IS_ZEN_ALPAA_NUM_NG = "E2051";
        public static readonly string OFFICE_NAME_KANA_IS_LENGTH_NG = "E2052";

        public static readonly string ZIP_NO_IS_NULL = "E1030";
        public static readonly string ZIP_NO_IS_INPUT = "E1031";
        public static readonly string ZIP_NO_IS_HAN_NUM_OK = "E1032";
        public static readonly string ZIP_NO_IS_LENGTH_NG = "E1033";

        public static readonly string PREF_CODE_IS_SELECT = "E1000";

        public static readonly string CITY_IS_NULL = "E1050";
        public static readonly string CITY_IS_INPUT = "E1051";
        public static readonly string CITY_IS_ZEN_STR_OK = "E1052";
        public static readonly string CITY_IS_LENGTH_NG = "E1053";

        public static readonly string ADDRESS_IS_NULL = "E1060";
        public static readonly string ADDRESS_IS_NOT_ZEN_ALPHA_NUM_NG = "E1061";
        public static readonly string ADDRESS_IS_HAN_KANA_NG = "E1062";
        public static readonly string ADDRESS_IS_LENGTH_NG = "E1063";

        public static readonly string TEL_IS_NULL = "E1070";
        public static readonly string TEL_IS_INPUT = "E1071";
        public static readonly string TEL_IS_DEFARENT_TRADER = "E1072";

        // ユーザ区分
        public static readonly string USER_CLSS_IS_SELECT = "E9070";

        // 販売業者登録証番号
        public static readonly string TRADER_REG_NO_IS_NULL = "E3020";
        public static readonly string TRADER_REG_NO_IS_INPUT = "E3021";
        public static readonly string TRADER_REG_NO_IS_REG = "E3022";
        public static readonly string TRADER_REG_NO_IS_NOT_REG = "E3023";
        public static readonly string TRADER_REG_NO_IS_DELETE = "E3024";
        public static readonly string TRADER_SEQ_NO_NOT_REG = "E3025";

        // 設置業者名
        public static readonly string TRADER_NAME_IS_NULL = "E2040";
        public static readonly string TRADER_NAME_IS_ZEN_ALPAA_NUM_NG = "E2041";
        public static readonly string TRADER_NAME_IS_HAN_KANA_NG = "E2042";
        public static readonly string TRADER_NAME_IS_LENGTH_NG = "E2043";

        // 設置業者名(カナ)
        public static readonly string TRADER_NAME_KANA_IS_NULL = "E2070";
        public static readonly string TRADER_NAME_KANA_IS_ZEN_ALPAA_NUM_NG = "E2071";

        public static readonly string FAX_IS_NULL = "E1080";
        public static readonly string FAX_IS_INPUT = "E1081";

        public static readonly string MAILADDRESS_IS_INPUT = "E1090";
        public static readonly string MAILADDRESS_IS_LENGTH_NG = "E1091";
        public static readonly string MAILADDRESS_IS_NULL = "E1092";
        

        public static readonly string DAIHYO_NAME_IS_NULL ="E2080";
        public static readonly string DAIHYO_NAME_IS_INPUT = "E2081";
        public static readonly string DAIHYO_NAME_IS_ZEN_STR_OK = "E2082";
        public static readonly string DAIHYO_NAME_IS_NOT_SPACE = "E2083";
        public static readonly string DAIHYO_NAME_IS_LENGTH_NG = "E2084";

        public static readonly string DAIHYO_NAME_KANA_IS_NULL = "E3000";
        public static readonly string DAIHYO_NAME_KANA_IS_INPUT = "E3001";
        public static readonly string DAIHYO_NAME_KANA_IS_ZEN_STR_OK = "E3002";
        public static readonly string DAIHYO_NAME_KANA_IS_NOT_SPACE = "E3003";
        public static readonly string DAIHYO_NAME_KANA_IS_LENGTH_NG = "E3004";

        public static readonly string TANTO_NAME_IS_NULL = "E2090";
        public static readonly string TANTO_NAME_IS_INPUT = "E2091";
        public static readonly string TANTO_NAME_IS_ZEN_STR_OK = "E2092";
        public static readonly string TANTO_NAME_IS_NOT_SPACE = "E2093";
        public static readonly string TANTO_NAME_IS_LENGTH_NG = "E2094";

        public static readonly string TANTO_NAME_KANA_IS_NULL = "E3010";
        public static readonly string TANTO_NAME_KANA_IS_INPUT = "E3011";
        public static readonly string TANTO_NAME_KANA_IS_ZEN_STR_OK = "E3012";
        public static readonly string TANTO_NAME_KANA_IS_NOT_SPACE = "E3013";
        public static readonly string TANTO_NAME_KANA_IS_LENGTH_NG = "E3014";

        /**********************************************************
	    * 注文系
	    **********************************************************/
	    // 配達希望日
        public static readonly string HOPE_DATE_IS_NULL = "E4000";
        public static readonly string HOPE_DATE_IS_INPUT = "E4001";
        public static readonly string HOPE_DATE_IS_HAN_NUM_OK = "E4002";
        public static readonly string HOPE_DATE_IS_IN_FUTURE = "E4004";

        // 注文担当者
        public static readonly string JUCHU_TANTO_NAME_IS_NULL = "E4160";
        public static readonly string JUCHU_TANTO_NAME_IS_ZEN_STR_OK = "E4161";
        public static readonly string JUCHU_TANTO_NAME_IS_NOT_SPACE = "E4162";

        // OCR注文枚数
        public static readonly string OCR_JUCHU_QTY_IS_NULL = "E4120";
        public static readonly string OCR_JUCHU_QTY_IS_HAN_NUM_OK = "E4121";
        public static readonly string OCR_JUCHU_QTY_IS_INPUT = "E4122";
        public static readonly string OCR_JUCHU_QTY_IS_10_UNIT = "E4123";

        // シール枚数
        public static readonly string SEAL_QTY_IS_NULL = "E4110";
        public static readonly string SEAL_QTY_IS_HAN_NUM_OK = "E4111";
        public static readonly string SEAL_QTY_IS_100_UNIT = "E4112";
        public static readonly string SEAL_QTY_IS_LENGTH_NG = "E4113";

        // 報告率
        public static readonly string REPORT_RATE_IS_LOW = "E4150";

        // 注文枚数
        public static readonly string JUCHU_QTY_IS_ZERO = "E4130";

        // 注文日
        public static readonly string JUCHU_DATE_IS_NULL = "E4010";
        public static readonly string JUCHU_DATE_IS_INPUT = "E4011";
        public static readonly string JUCHU_DATE_IS_HAN_NUM_OK = "E4012";

        // 発送日
        public static readonly string DELIV_DATE_IS_NULL = "E4030";
        public static readonly string DELIV_DATE_IS_INPUT = "E4031";
        public static readonly string DELIV_DATE_IS_HAN_NUM_OK = "E4032";

        // 配送会社名
	    public static readonly string DELIV_COMPANY_NAME_IS_NULL			= "E4200";
	    public static readonly string DELIV_COMPANY_NAME_IS_ZEN_STR_OK	= "E4201";
	    public static readonly string DELIV_COMPANY_NAME_IS_HAN_KANA_NG	= "E4202";
	    public static readonly string DELIV_COMPANY_NAME_IS_LENGTH_NG		= "E4203";

	    // 伝票番号
	    public static readonly string DELIV_NO_IS_NULL				= "E4210";
	    public static readonly string DELIV_NO_IS_ZEN_STR_OK			= "E4211";
	    public static readonly string DELIV_NO_IS_HAN_KANA_NG			= "E4212";
	    public static readonly string DELIV_NO_IS_LENGTH_NG			= "E4213";

	    // 発送担当者
	    public static readonly string DELIV_TANTO_NAME_IS_NULL		= "E4220";
	    public static readonly string DELIV_TANTO_NAME_IS_ZEN_STR_OK	= "E4221";
	    public static readonly string DELIV_TANTO_NAME_IS_NOT_SPACE	= "E4222";
        public static readonly string DELIV_TANTO_NAME_IS_LENGTH_NG = "E4223";

        // 報告担当者
        public static readonly string REPORT_TANTO_NAME_IS_NULL = "E5100";
        public static readonly string REPORT_TANTO_NAME_IS_ZEN_STR_OK = "E5101";
        public static readonly string REPORT_TANTO_NAME_IS_NOT_SPACE = "E5102";

        // 設置業者区分
	    public static readonly string EST_COMP_CLSS_IS_SELECT			= "E5210";

	    // 委託販売会社名
	    public static readonly string CONS_COMP_NAME_IS_NULL				= "E5220";
	    public static readonly string CONS_COMP_NAME_IS_ZEN_ALPAA_NUM_NG	= "E5221";
	    public static readonly string CONS_COMP_NAME_IS_HAN_KANA_NG		= "E5222";

	    // 委託販売会社電話番号
	    public static readonly string CONS_COMP_TELNO_IS_NULL			= "E5230";
	    public static readonly string CONS_COMP_TELNO_IS_INPUT		= "E5231";

	    // 設置ホール
	    public static readonly string HALL_SEQNO_IS_SELECT			= "E5240";

	    // 設置台数
	    public static readonly string MACHINE_QTY_IS_NULL				= "E5250";
	    public static readonly string MACHINE_QTY_IS_HAN_NUM_OK		= "E5251";

	    // 設置遊技機型式名
	    public static readonly string MACHINE_NAME_IS_NULL			= "E5260";
	    public static readonly string MACHINE_NAME_IS_HAN_KANA_NG		= "E5261";
	    public static readonly string MACHINE_NAME_IS_LENGTH_NG		= "E5262";
	    public static readonly string MACHINE_NAME_IS_HAN_KANA_NG2   		= "E5263";
        public static readonly string MACHINE_NAME_IS_HAN_KANA_NG3    = "E5264";

	    // 取扱主任者証番号
	    public static readonly string CHIEF_NO_IS_NULL				= "E5270";
	    public static readonly string CHIEF_NO_IS_HAN_NUM_OK			= "E5271";

	    // 取扱主任者名
	    public static readonly string CHIEF_NAME_IS_NULL				= "E5280";
	    public static readonly string CHIEF_NAME_IS_ZEN_STR_OK		= "E5281";
	    public static readonly string CHIEF_NAME_IS_NOT_SPACE			= "E5282";

	    // 作業従事者名
	    public static readonly string WORK_NAME_IS_ZEN_STR_OK			= "E5291";
	    public static readonly string WORK_NAME_IS_NOT_SPACE			= "E5292";

	    // 新台中古台区分
	    public static readonly string MACHINE_CLSS_IS_SELECT			= "E5300";

        // 設置日
        public static readonly string EST_DATE_IS_NULL = "E5010";
        public static readonly string EST_DATE_IS_INPUT = "E5011";
        public static readonly string EST_DATE_IS_HAN_NUM_OK = "E5012";
        // 代理報告用エラー　報告日より以前の日付を入力してください。
        public static readonly string EST_DATE_IS_BEFOR_REPROT_DATE = "E5013";

        // シール番号
        public static readonly string SEAL_NO_IS_NULL = "E5200";
        public static readonly string SEAL_NO_IS_HAN_NUM_OK = "E5201";
        public static readonly string SEAL_NO_IS_NOT_MATCH_MACHINE_QTY = "E5202";
        public static readonly string SEAL_NO_IS_DUPLICATION = "E5203";
        public static readonly string SEAL_NO_IS_CANSEL = "E5204";
        public static readonly string SEAL_STR_NO_IS_SMALLER = "E5205";
        public static readonly string SEAL_NO_IS_EXPIRATION = "E5206";

        /**********************************************************
	    * 破棄系
	    **********************************************************/
	    // シール番号
	    public static readonly string SEAL_NO_IS_NOT_REG				= "E6000";
	    public static readonly string SEAL_NO_IS_AFTER_REPORT			= "E6001";
	    public static readonly string SEAL_NO_IS_NOT_REPORTED			= "E6002";
	    public static readonly string SOME_SEAL_NO_IS_NOT_REG			= "E6003";
	    public static readonly string SOME_SEAL_NO_IS_AFTER_REPORT		= "E6004";
	    public static readonly string SOME_SEAL_NO_IS_CANCELED		= "E6005";
	    public static readonly string SOME_SEAL_NO_IS_NOT_APPROVED		= "E6006";
	    public static readonly string MAX_CANCEL_SEAL_QTY_IS_1000			= "E6007";
	    public static readonly string SEAL_COUNT_IS_NOT_AGREE			= "E6008";

        // ホール名
        public static readonly string HALL_NAME_IS_NULL = "E2020";
        public static readonly string HALL_NAME_IS_ZEN_ALPAA_NUM_NG = "E2021";
        public static readonly string HALL_NAME_IS_HAN_KANA_NG = "E2022";
        public static readonly string HALL_NAME_IS_LENGTH_NG = "E2023";

        // 報告日
        public static readonly string REPORT_DATE_IS_NULL = "E5000";
        public static readonly string REPORT_DATE_IS_INPUT = "E5001";
        public static readonly string REPORT_DATE_IS_HAN_NUM_OK = "E5002";



    }
}
